home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Robotics & Artificial Int…3 (Professional Edition)
/
Robotics & Artificial Intelligence Tools 2003 (Professional Edition).iso
/
robot software
/
webots-kros-1.0.1_setup.exe
/
{app}
/
kteam
/
etc
/
Makefile_PIC
< prev
next >
Wrap
Makefile
|
2002-05-08
|
856b
|
37 lines
##############################################################
#
# Makefile master for the Source Navigator / GNU Compiler Env.
#
# Copyright (C) 2000 K-TEAM S.A.
#
##############################################################
# the assembler command line was orignally:
# @$(CC) $(DEBUG) $(SPECIAL) $(OPTS) $(ALL_CFLAGS) -c -o $@ $<_.S
# replaced by Olivier Michel on May 8th 2002 by
# @$(AS) $(ASFLAGS) -o $@ $<_.s
include $(sft_pack)etc/Makefile_Common
# Transform code into Position Independent Code and Data
PICIFY = awk -f $(picscript)
CCPIC = -fPIC
picscript = $(sft_pack)etc/PICIFY.awk
$(objdir)%.o: $(asmdir)%.s
@echo Assembling $< into $@
@$(PICIFY) $< > $<_.s
@$(AS) $(ASFLAGS) -o $@ $<_.s
@rm $<_.s $<
$(objdir)%.o: $(asmdir)%.S
@echo Assembling $< into $@
@$(PICIFY) $< > $<_.S
@$(AS) $(ASFLAGS) -o $@ $<_.s
@rm $<_.S $<